package com.bot.edu.applysystem.audition.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 试听申请表
 * @Author: jeecg-boot
 * @Date:   2022-04-21
 * @Version: V1.0
 */
@Data
@TableName("audition_application")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="audition_application对象", description="试听申请表")
public class AuditionApplication implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**申请编号*/
	@Excel(name = "申请编号", width = 15)
    @ApiModelProperty(value = "申请编号")
    private String applicationId;
	/**申请人*/
	@Excel(name = "申请人", width = 15)
    @ApiModelProperty(value = "申请人")
    private String applicationName;
	/**申请人编号*/
	@Excel(name = "申请人编号", width = 15)
    @ApiModelProperty(value = "申请人编号")
    private String userId;
	/**申请课程*/
	@Excel(name = "申请课程", width = 15, dictTable = "course", dicText = "course_name", dicCode = "course_id")
	@Dict(dictTable = "course", dicText = "course_name", dicCode = "course_id")
    @ApiModelProperty(value = "申请课程")
    private String courseId;
	/**申请时间*/
	@Excel(name = "申请时间", width = 15)
    @ApiModelProperty(value = "申请时间")
    private Date applicationDatetime;
	/**申请类型*/
	@Excel(name = "申请类型", width = 15)
    @ApiModelProperty(value = "申请类型")
    private String applicationType;
	/**申请状态*/
	@Excel(name = "申请状态", width = 15, dicCode = "audition_application_status")
	@Dict(dicCode = "audition_application_status")
    @ApiModelProperty(value = "申请状态")
    private String applicationStatus;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    @CreationTimestamp
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    @UpdateTimestamp
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
